public class SmartBoard implements Device, NetworkDevice {
    private String brand;
    private String ip;

    public SmartBoard(String brand, String ip) {
        this.brand = brand;
        this.ip = ip;
    }

    @Override
    public void powerOn() {
        System.out.println(brand + "电子白板开机");
    }

    @Override
    public void powerOff() {
        System.out.println(brand + "电子白板关机");
    }

    @Override
    public String getInfo() {
        return "电子白板：" + brand;
    }

    @Override
    public void connectNetwork() {
        System.out.println(brand + "连接到无线网络");
    }

    @Override
    public String getNetworkStatus() {
        return null;
    }

    @Override
    public String getIpAddress() {
        return ip;
    }

    @Override
    public int getUsbVersion() {
        return 0;
    }
}
